<?xml version="1.0" encoding="utf-8"?>
<Content xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:blueonionsoftware-com:bloget:runtime:data">
  <text>
		&lt;p&gt;
				&lt;a href="http://www.jtleigh.com/people/colin/software/CopySourceAsHtml/"&gt;CopySourceAsHtml &lt;/a&gt;is a free Visual Studio 2005 add-in that lets you copy source code as HTML. It even preserves the color coding. CopySourceAsHtml addes itself to the right-click menu so it's easy to use. There are many options for formatting. Very handy for blog postings. Below is an example.&lt;/p&gt;
		&lt;div style="FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; FONT-FAMILY: Courier New"&gt;
				&lt;div style="FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; FONT-FAMILY: Courier New"&gt;
						&lt;div style="FONT-SIZE: 9pt; BACKGROUND: white; COLOR: black; FONT-FAMILY: Courier New"&gt;
								&lt;p style="MARGIN: 0px"&gt;
										&lt;span style="COLOR: blue"&gt;private&lt;/span&gt;
										&lt;span style="COLOR: blue"&gt;void&lt;/span&gt; ReplySuccess(&lt;span style="COLOR: blue"&gt;string&lt;/span&gt; message)&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;{&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;  Page.Response.ContentType = &lt;span style="COLOR: maroon"&gt;"text/xml"&lt;/span&gt;;&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt; &lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;  &lt;span style="COLOR: teal"&gt;XmlWriterSettings&lt;/span&gt; xmlSettings = &lt;span style="COLOR: blue"&gt;new&lt;/span&gt;&lt;span style="COLOR: teal"&gt;XmlWriterSettings&lt;/span&gt;();&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;  xmlSettings.Encoding = &lt;span style="COLOR: blue"&gt;new&lt;/span&gt; System.Text.&lt;span style="COLOR: teal"&gt;UTF8Encoding&lt;/span&gt;(&lt;span style="COLOR: blue"&gt;false&lt;/span&gt;);&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt; &lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;  &lt;span style="COLOR: blue"&gt;using&lt;/span&gt; (&lt;span style="COLOR: teal"&gt;XmlWriter&lt;/span&gt; writer = &lt;span style="COLOR: teal"&gt;XmlWriter&lt;/span&gt;.Create(OutputStream, xmlSettings))&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;  {&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;    writer.WriteStartDocument();&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;    writer.WriteStartElement(&lt;span style="COLOR: maroon"&gt;"methodResponse"&lt;/span&gt;);&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;    writer.WriteStartElement(&lt;span style="COLOR: maroon"&gt;"params"&lt;/span&gt;);&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;    writer.WriteStartElement(&lt;span style="COLOR: maroon"&gt;"param"&lt;/span&gt;);&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;    writer.WriteStartElement(&lt;span style="COLOR: maroon"&gt;"value"&lt;/span&gt;);&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;    writer.WriteElementString(&lt;span style="COLOR: maroon"&gt;"string"&lt;/span&gt;, message);&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;    writer.WriteEndDocument();&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;    writer.Flush();&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;  }&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt;}&lt;/p&gt;
								&lt;p style="MARGIN: 0px"&gt; &lt;/p&gt;
						&lt;/div&gt;
						&lt;!--EndFragment--&gt;
				&lt;/div&gt;
		&lt;/div&gt;
</text>
  <last_update>2007-07-25T02:56:24.015625Z</last_update>
  <source_title />
  <source_link />
  <comments />
  <references />
  <attachments />
</Content>